package com.shrct.businessprocess.customerservice.events;

import com.shrct.businessprocess.customerservice.RCContractInstallInfo;
import com.shrct.businessprocess.customerservice.RCServiceRecord;
import edu.fudan.mylang.pf.event.IEntityEventsListner;
import java.util.Date;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;

public interface RCContractInstallInfoEventsListener extends IEntityEventsListner<RCContractInstallInfo> {
  public abstract void setAsRequired(final RCContractInstallInfo entity);
  
  public abstract void setAsNotRequired(final RCContractInstallInfo entity);
  
  public abstract void updateInfo(final RCContractInstallInfo entity, final Procedure1<? super RCContractInstallInfo> preInit);
  
  public abstract void cancel(final RCContractInstallInfo entity);
  
  public abstract void finish(final RCContractInstallInfo entity, final Date finishDate);
  
  public abstract void doAddtoServiceRecords(final RCContractInstallInfo entity, final RCServiceRecord serviceRecord);
  
  public abstract void sendMessage(final RCContractInstallInfo entity);
}
